package booroo.basic;

import java.util.Scanner;

public class J04_CalcurateFee {

	public static void main(String[] args) {
		Scanner sc=null;
		int num;
		sc=new Scanner(System.in);
		System.out.println("거리를 입력하세요(km) : ");
		num=sc.nextInt();
		if (num<50){
				System.out.println("요금 : 10000원");
			}
		else if (num>=50&&num<100){
			System.out.println("요금 : 18000원");
		}
		else if (num>=100&&num<300){
			System.out.println("요금 : 55000원");
		}
		else System.out.println("요금 : 75000원");
	}

}
